#pragma once

#include <stdio.h>
#include <unistd.h>
#include <string.h>

#define MAX_RATE 100
#define SIZE 101
#define STYLE '#'
#define STIME 1000*20

#define TARGET_SIZE 1024*1024 //1MB
#define DSIZE 1024*10

//定义一个函数指针类型
typedef void (*callback_t)(double);

#define STYLE_BODY '='
#define STYLE_HEAD '>'

void process(double);
